# --------------------------------
# -*- coding: utf-8 -*-
# Author: Zhu
# Date: 2021/12/16   
# Description:
# --------------------------------
from selenium.webdriver.common.by import By

class ele_CUSTOMER_MANAGMENT:
    u'作业端-基础资料-货主管理-【客户管理】页面元素'


    # 客户管理 列表
    ys_Customer_List = By.XPATH , "/html/body/div/div/div[1]/div[2]/div[1]/div/ul/div[3]/li/ul/div[1]/li/ul/div[3]/a/li/span"

    # 新建客户 按钮
    ys_Create_Customer_Btn = By.XPATH , "/html/body/div/div/div[2]/section/div/div[2]/div[1]/button/span"

    # 输入框元素----------------------------------------------------------------------------------------------------------

    # 客户名称
    ys_Customer_Name = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[2]/div/div/div/input"

    # 客户编码
    ys_Customer_Bm = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[3]/div/div/div/input"

    # 客户联系人
    ys_Customer_Contact = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[6]/div/div/div/input"

    # 联系人手机
    ys_Customer_ContactPHone = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[7]/div/div/div/input"

    # 联系人固话
    ys_Customer_PHoneGH = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[8]/div/div/div/input"

    # 详细地址
    ys_Customer_Address = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[10]/div/div/div/input"

    # 备注
    ys_Customer_Remark = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[11]/div/div/div/input"


    # 下拉列表元素--------------------------------------------------------------------------------------------------------

    # 货主名称
    ys_CustomerShipper = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[1]/div/div/div/div[1]/input"
    # ui货主
    # ys_CustomerShipper_Choose = By.XPATH , "//span[contains(text(),'UI货主')]"
    # ys_CustomerShipper_Choose = By.XPATH , "/html/body/div[4]/div[1]/div[1]/ul/li[3]"
    ys_CustomerShipper_Choose = By.XPATH , "/html/body/div[last()]/div[1]/div[1]/ul/li[3]"

    # 客户等级
    ys_Customer_Grade = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[4]/div/div/div/div[1]/input"
    # 客户等级 - 普通
    ys_Customer_Grade2 = By.XPATH , "/html/body/div[last()]/div[1]/div[1]/ul/li[2]/span"

    # 客户类型
    ys_Customer_type = By.XPATH , "/html/body/div[3]/div/div[2]/div/form/div/div[5]/div/div/div/div[1]/input"
    # 客户类型-仓库
    ys_Customer_type2 = By.XPATH , "/html/body/div[last()]/div[1]/div[1]/ul/li[2]/span"

    # # 省市区
    # ys_Customer_province = By.XPATH , ""

    #

    # 确定新建客户 按钮
    ys_CreateCustomer_Submit = By.XPATH , "/html/body/div[3]/div/div[3]/span/button[2]"
